package cn.com.ghy.android.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @软件著作权:金红叶纸业集团有限公司
 * @系统名称:SFA系统
 * @Description:我的路线java bean
 * @author wuz  @date 2011-5-23 14:19:57
 * @版本历史:v1.0
 * @Copyright:Copyright (c) 2011-2012 
 */

public class MyWayBean implements Serializable{
	private static final long serialVersionUID = -7150397729390681815L;
	
	private String wayid;
	private String wayname;
	private String state;
	private List<CustomerInfoBean> customerInfoList;
	
	public MyWayBean() {}
	
	public MyWayBean(String wayid, String wayname) {
		this(wayid, wayname, "Y", null);
	}

	public MyWayBean(String wayid, String wayname, String state,
			List<CustomerInfoBean> customerInfoList) {
		super();
		this.wayid = wayid;
		this.wayname = wayname;
		this.state = state;
		this.customerInfoList = customerInfoList;
	}

	public String getWayid() {
		return wayid;
	}
	public void setWayid(String wayid) {
		this.wayid = wayid;
	}
	public String getWayname() {
		return wayname;
	}
	public void setWayname(String wayname) {
		this.wayname = wayname;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public List<CustomerInfoBean> getCustomerInfoList() {
		return customerInfoList;
	}
	public void setCustomerInfoList(List<CustomerInfoBean> customerInfoList) {
		this.customerInfoList = customerInfoList;
	}

	@Override
	public String toString() {
		return wayname;
	}

}
